<%@page language="java" pageEncoding="UTF-8"  contentType="text/html;utf-8" isELIgnored="false"%>
<html>
<script src="js/jquery-3.3.1.min.js"></script>

<style>

    *{
        margin: 0px;
        padding: 0px;
        box-sizing: border-box;
    }
    body{
        background: url("./img/c.png") no-repeat center;
        background-size: 100%;
    }
    .register{
        border: 1px solid black;
        width: 450px;
        height: 210px;
        margin: auto;
        margin-top: 150px;
        border-radius: 15px;
        padding-top: 25px;
    }
    .td_left{
        width: 100px;
        text-align: right;
        height: 45px;
    }
    .td_right{
        padding-left: 12px;
    }
    #username,#password,#boxText{
        width: 265px;
        height: 40px;
        border: 1px solid darkgray;
        /*    设置边框属性为圆角*/
        border-radius: 5px;
        padding-left: 8px;
    }
    #boxText{
        width: 200px;
        height: 40px;
    }
    #image{
        width: 150px;
        height: 50px;
    }
    #checkcode{
        width: 80px;
        height: 40px;
        font-size: 15px;
    }
    #btn_sub{
        width: 120px;
        height: 35px;
        background-color: lemonchiffon;
        border: 0.5px solid darkgrey;
    }
</style>

<body>
<div class="register">
    <form action="/login" method="post">
        <table>
            <tr>
                <td class="td_left"><label for="username">用户名</label></td>
                <td class="td_right"><input type="text" name="username" placeholder="请输入用户名" id="username"></td>
            </tr>
            <tr>
                <td class="td_left"><label for="password">密码</label></td>
                <td class="td_right"><input type="password" name="password" placeholder="请输入密码" id="password"></td>
            </tr>
            <tr>
                <td colspan="2" align="center"><input type="submit" value="登录" id="btn_sub"></td>
            </tr>
            <tr>
                <td colspan="2" align="center">
                    <%--                    <%=request.getAttribute("cc_error") == null ? "" : request.getAttribute("cc_error")%>--%>
                    <%--                    EL语句     --%>
                    ${requestScope.msg}
                </td>
            </tr>
        </table>
    </form>
</div>
</body>
</html>